import layout from '@/layout/index.vue'

export default {
  path: '/gdemo',
  component: layout,
  redirect: '/gdemo/manage',
  name: 'gdemo',
  meta: { title: 'gdemo', icon: 'link' },
  // children 是这个页面里面的权限
  children: [
    {
      path: '/gdemo/manage',
      component: () => import('@/views/gdemo-manage/index.vue'),
      meta: {
        title: 'gdemoManage',
        icon: 'tree'
      }
    },
    {
      path: '/gdemo/pixi',
      component: () => import('@/views/gdemo-pixi/index.vue'),
      meta: {
        title: 'gdemoPixi',
        icon: 'eye',
        // keepAlive:true,
      }
    },
    {
      path: '/gdemo/Info/:id',
      component: () => import('@/views/gdemo-info/index.vue'),
      props: true,
      meta: {
        title: 'gdemoInfo'
      }
    }
  ]
}
